{% extends extends_template %}

{% block location %}
     <div class="nav"><a href="{% url accounts %}">Accounts</a></div>
{% endblock %}

{% block content %}
<div id="accounts">
    {% block accounts %}
    {% if accounts %}
        {% if cli %}
            {% include 'cli/cli_account_table.html' with accounts=accounts accounts_title="Your accounts" %}
        {% else %}
            {% include 'account_table.html' with accounts=accounts accounts_title="Your accounts" %}
        {% endif %}
    {% else %}
    <div>No Accounts.</div>
    {% endif %}
    {% endblock %}
</div>
{% endblock %}

{% block menu %}
    <div><a href="{% url new_payment %}"><b>New payment</b></a></div>
    <div><a href="{% url transfer %}">Transfer money between own accounts</a></div>
    <!--<div><a href="{% url list_payments %}"><b>Account history</b></a></div>-->
    <div><a href="{% url list_cards %}">Cards on all accounts</a></div>
    
    
{% endblock %}
